package com.ardf.service;

import com.ardf.entity.AthleteTeam;
import com.ardf.entity.Group;
import com.ardf.entity.Team;
import com.ardf.entity.dto.AthleteTeamDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ShiYunHao
 * @since 2025-01-06
 */
public interface IAthleteTeamService extends IService<AthleteTeam> {

    Group getGroupByTeamId(Long teamId);

    /**
     * author:容伟洪
     * time:2025-3-7
     * description：根据指卡号查找所在的接力队伍
     */
    AthleteTeam selectTeamByAthId(Long athleteId);

    /**
     * author:容伟洪
     * time:2025-3-12
     * description：根据接力队伍id查询当前队伍下的所有人员信息
     */

    List<AthleteTeamDto> selectPrintAthleteByTeamId(Long teamId,Long projectId);
}
